#include "c_plus.h"
//#include <iostream>
#include "main.h"
#include <stdio.h>
#include "./button/button.hpp"
Button button1(1, []()->bool{return (bool)HAL_GPIO_ReadPin(GPIOG,GPIO_PIN_5);}, 0);
Button button2(2, []()->bool{return (bool)HAL_GPIO_ReadPin(GPIOG,GPIO_PIN_6);}, 0);
Button button3(3, []()->bool{return (bool)HAL_GPIO_ReadPin(GPIOG,GPIO_PIN_7);}, 0);
Button button4(4, []()->bool{return (bool)HAL_GPIO_ReadPin(GPIOG,GPIO_PIN_8);}, 0);
void c_plus_TIM7_callback() {
	button1.tick_handler();
	button2.tick_handler();
	button3.tick_handler();
	button4.tick_handler();
}
void c_plusplus_main()
{
	while (1)
	{
		/* code */
		HAL_Delay(1000);
	}
}
	